package com.subfg.common.entity.genter.zlog;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "异常接口记录")
public class ZlogExceptionModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "客户端请求日志id")
    private Integer id;
    @ApiModelProperty(value = "用户id")
    private  String userId;
    @ApiModelProperty(value = "异常名称")
    private String exceptionName;
    @ApiModelProperty(value = "用户携带的token 信息")
    private String token;
    @ApiModelProperty(value = "异常内容")
    private String exceptionContent;
    @ApiModelProperty(value = "api接口名称")
    private String apiName;
    @ApiModelProperty(value = "api接口描述")
    private String apiDescribe;
    @ApiModelProperty(value = "用户ip")
    private String userIp;
    @ApiModelProperty(value = "用户地址")
    private String region;
    @ApiModelProperty(value = "产生时间")
    private Long createTime;

}
